﻿@model IEnumerable<Senac.Escola.Projeto.Models.Resposta>
           

<h2>@ViewBag.NomePergunta</h2>

<table class="table">
    <tr>
        <th>
            RESPOSTAS
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.Descricao)
        </td>
        <td>
            @Html.ActionLink("Edit", "Edit", new { id = item.RespostaID }, new {@class = "btn" }) 
            @Html.ActionLink("Delete", "Delete", new { id=item.RespostaID }, new {@class = "btn" })
        </td>
    </tr>
}
</table>

<ul class="pager">
  <li><a href="@Url.Content("~/Pergunta/EditPergunta/" + Model.First().Pergunta.AtividadeID)">Voltar</a></li>
</ul>
